package cn.coisini.service;

import cn.coisini.model.common.dtos.Result;
import cn.coisini.model.common.enums.ResultEnum;
import cn.coisini.model.dto.AssociateWordsDto;
import cn.coisini.model.dto.UserSearchDto;

import java.util.List;

/**
 * @author xiangshaw
 * Description: 联想词服务
 */
public interface AssociateWordsService {

    /**
     * 获取联想词
     */
    Result<List<AssociateWordsDto>> getAssociateWords(UserSearchDto userSearchDto);

    /**
     * 新增联想词
     */
    void addAssociateWords(AssociateWordsDto associateWordsDto);

    /**
     * 删除联想词
     */
    Result<ResultEnum> delAssociateWords(AssociateWordsDto associateWordsDto);
}
